﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="2016020719_1.aspx.cs" Inherits="web8._2016020719_1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SystemConnectionString %>" 
            SelectCommand="SELECT * FROM [list_newclass] WHERE ([inc_id] = @inc_id)">
            <SelectParameters>
                <asp:QueryStringParameter DefaultValue="1" Name="inc_id" QueryStringField="id" 
                    Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="inc_id" DataSourceID="SqlDataSource1">
            <Columns>
                <asp:BoundField DataField="inc_id" HeaderText="inc_id" ReadOnly="True" 
                    SortExpression="inc_id" />
                <asp:BoundField DataField="inc_name" HeaderText="inc_name" 
                    SortExpression="inc_name" />
                <asp:BoundField DataField="inc_order" HeaderText="inc_order" 
                    SortExpression="inc_order" />
            </Columns>
        </asp:GridView>
    
    </div>
    </form>
</body>
</html>
